package com.gdpu.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author yty
 * @since 2022-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Provider implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 供货商id
     */
    @TableId(value = "provider_id", type = IdType.AUTO)
    private Integer providerId;

    /**
     * 供货商名称
     */
    private String name;

    /**
     * 地址
     */
    private String address;

    /**
     * 负责人
     */
    private String manager;

    /**
     * 负责人电话
     */
    private String talePhone;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getProviderId() {
        return providerId;
    }

    public void setProviderId(Integer providerId) {
        this.providerId = providerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getTalePhone() {
        return talePhone;
    }

    public void setTalePhone(String talePhone) {
        this.talePhone = talePhone;
    }
}
